#ifndef _PAGE_
#define _PAGE_
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_err.h"

#include "esp_system.h"
#include "esp_vfs.h"
#include "esp_spiffs.h"

#include "freertos/event_groups.h"
#include "esp_event.h"
#include "nvs_flash.h"

#include "mqtt_client.h"
#include "driver/gpio.h"//gpio头文�??
#include "cJSON.h"

/*wp*/
#include "wificonnet.h"
#include "http.h"
#include "gui.h"
#include "gui_time.h"
#include "gbk.h"
#include "dht11.h"
#include "u2c.h"
#include "adc.h"
#include "button.h"

#define CLEAN_LCD lcdDrawFillRect(&DEV, 0,30, 239, 135, BLACK);
typedef struct {
	int temp;
	int hus;
} INROOM;
void showlogo();//上电动画
void page_wifi_connet();
void wifi_rate();
void fans_rate();
void time_rate();
void weather_rate();
void show_fans(uint16_t * data);
void show_power();
void page_on();
void page_first(void *pvParameter);
void page_second(void *pvParameter);
void page_three(void *pvParameter);
void draw_weather_Ram(uint8_t i,int x,int y,uint8_t * data,uint8_t w);
void page_four();
#endif